package utils;

public enum Condition {
	NONE(0, "自定义"),
	EQUAL(1, "等于"), 
	NOEQUAL(2, "不等于"), 
	LESS(4, "小于"), 
	GREATER(8, "大于"), 
	GREATEREQUAL(16, "大于等于"), 
	LESSEQUAL(32, "小于等于"), 
	NUMBERCOMPARE(63, "数字比较"), 
	BLANK(64, "为空"), 
	NOBLANK(128, "否为空"), 
	LEFTLIKE(256, "左like"), 
	RIGHTLIKE(512, "右like"), 
	LIKE(1024, "like");

	private int code;
	private String name;

	private Condition(int code, String name) {
		this.code = code;
		this.name = name;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	
}
